|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An instance of this interface allows clients to manage command handlers.
This interface is not intended to be extended or implemented by clients.
EXPERIMENTAL
CommandHandlerServiceFactory
Method Summary | |
void |
addCommandHandlerServiceListener(ICommandHandlerServiceListener commandHandlerServiceListener)
Registers an instance of ICommandHandlerServiceListener
to listen for changes to properties of this instance. |
Map |
getHandlersByCommandId()
Returns the map of handlers by command identifier. |
void |
removeCommandHandlerServiceListener(ICommandHandlerServiceListener commandHandlerServiceListener)
Unregisters an instance of ICommandHandlerServiceListener
listening for changes to properties of this instance. |
Method Detail |
public void addCommandHandlerServiceListener(ICommandHandlerServiceListener commandHandlerServiceListener)
ICommandHandlerServiceListener
to listen for changes to properties of this instance.
commandHandlerServiceListener
- the instance to register. Must not be null
.
If an attempt is made to register an instance which is
already registered with this instance, no operation is
performed.public Map getHandlersByCommandId()
Notification is sent to all registered listeners if this property changes.
null
.
If this map is not empty, its key set is guaranteed to only
contain instances of String
and its value set is
guaranteed to only contain instances of IHandler
public void removeCommandHandlerServiceListener(ICommandHandlerServiceListener commandHandlerServiceListener)
ICommandHandlerServiceListener
listening for changes to properties of this instance.
commandHandlerServiceListener
- the instance to unregister. Must not be null
.
If an attempt is made to unregister an instance which is not
already registered with this instance, no operation is
performed.
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |